package service

import (
	"github.com/flipped-aurora/gin-vue-admin/server/service/bbs"
	"github.com/flipped-aurora/gin-vue-admin/server/service/example"
	"github.com/flipped-aurora/gin-vue-admin/server/service/stat"
	"github.com/flipped-aurora/gin-vue-admin/server/service/system"
	"github.com/flipped-aurora/gin-vue-admin/server/service/user"
	"github.com/flipped-aurora/gin-vue-admin/server/service/video"
)

// 实例创建聚合

type ServiceGroup struct {
	SystemServiceGroup  system.ServiceGroup
	ExampleServiceGroup example.ServiceGroup
	XkBbsServiceGroup   bbs.ServiceGroup
	XkVideoServiceGroup video.ServiceGroup
	XkStatServiceGroup  stat.ServiceGroup
	XkUserServiceGroup  user.ServiceGroup
}

// 单列设计模式

var ServiceGroupApp = new(ServiceGroup)
